SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{3c59da111401a69810fe731583601e83fc7698b0074cbf12ea39c7966786d10d}Weiden{3c59da111401a69810fe731583601e83fc7698b0074cbf12ea39c7966786d10d}' OR prCity = 'Weiden' OR prZip = 'Weiden' OR prStreet LIKE '{3c59da111401a69810fe731583601e83fc7698b0074cbf12ea39c7966786d10d}Weiden{3c59da111401a69810fe731583601e83fc7698b0074cbf12ea39c7966786d10d}' OR prCountry = 'Weiden') AND (prLocation LIKE '{3c59da111401a69810fe731583601e83fc7698b0074cbf12ea39c7966786d10d}i.{3c59da111401a69810fe731583601e83fc7698b0074cbf12ea39c7966786d10d}' OR prCity = 'i.' OR prZip = 'i.' OR prStreet LIKE '{3c59da111401a69810fe731583601e83fc7698b0074cbf12ea39c7966786d10d}i.{3c59da111401a69810fe731583601e83fc7698b0074cbf12ea39c7966786d10d}' OR prCountry = 'i.') AND (prLocation LIKE '{3c59da111401a69810fe731583601e83fc7698b0074cbf12ea39c7966786d10d}d.{3c59da111401a69810fe731583601e83fc7698b0074cbf12ea39c7966786d10d}' OR prCity = 'd.' OR prZip = 'd.' OR prStreet LIKE '{3c59da111401a69810fe731583601e83fc7698b0074cbf12ea39c7966786d10d}d.{3c59da111401a69810fe731583601e83fc7698b0074cbf12ea39c7966786d10d}' OR prCountry = 'd.') AND (prLocation LIKE '{3c59da111401a69810fe731583601e83fc7698b0074cbf12ea39c7966786d10d}OPf.{3c59da111401a69810fe731583601e83fc7698b0074cbf12ea39c7966786d10d}' OR prCity = 'OPf.' OR prZip = 'OPf.' OR prStreet LIKE '{3c59da111401a69810fe731583601e83fc7698b0074cbf12ea39c7966786d10d}OPf.{3c59da111401a69810fe731583601e83fc7698b0074cbf12ea39c7966786d10d}' OR prCountry = 'OPf.') AND (prLocation LIKE '{3c59da111401a69810fe731583601e83fc7698b0074cbf12ea39c7966786d10d}Germany{3c59da111401a69810fe731583601e83fc7698b0074cbf12ea39c7966786d10d}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{3c59da111401a69810fe731583601e83fc7698b0074cbf12ea39c7966786d10d}Germany{3c59da111401a69810fe731583601e83fc7698b0074cbf12ea39c7966786d10d}' OR prCountry = 'Germany')